package cn.juque.jdfsystem.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>ConfigCodeEnum</li>
 * </ul>
 * @date 2023-01-09 16:39:56
 **/
public enum ConfigCodeEnum {

    /**
     * enum
     */
    SERVER_PATH("SERVER_PATH", "文件服务器路径"),
    EXECUTOR_SLEEP_MAX_TIMES("EXECUTOR_SLEEP_MAX_TIMES", "任务睡眠最大时长"),
    SIGNATURE("SIGNATURE", "消息同步的签名"),

    HOT_FILE_NUMBER("HOT_FILE_NUMBER", "热点文件缓存数量"),

    CHECK_FILE_LIMIT_DAY("CHECK_FILE_LIMIT_DAY", "盘点文件限制最大天数")
    ;
    private final String code;

    private final String label;

    ConfigCodeEnum(String code, String label) {
        this.code = code;
        this.label = label;
    }

    public String getCode() {
        return code;
    }
}
